.\"
.TH "addgroup" 7 "August 4, 2005" "Mac OS X" "Mac OS X Darwin ZSH customization" 
.SH NAME
.B addgroup
\- Add a user group to the Directory Service database 

.SH SYNOPSIS

.B addgroup group_name gid 

where 

.B group_name 
is a one-word name of a new group

.B gid 
is an (unused) numerical group id
integer (Mac OS X starts numbering usergroups consecutively from 501 but any larger integers
may be used)

Both arguments are compulsory 
and must be
supplied in the order given above.

.SH DESCRIPTION  

The 
.B addgroup
command must be invoked by an admin user.

Takes a group_name and gid and creates a new group in NetInfo groups


.SH SEE ALSO
.BR add_user(7),
.BR addgroup(7),
.BR delete_user(7),
.BR delete_group(7),
.BR remove_user_from_group(7),
.BR adduser2group(7)
                        

.SH AUTHOR
Obtained and modified from a bash shell script available at
http://www.osxfaq.com/tips/unix-tricks/week91/friday.ws

.SH MAINTAINER
W. G. Scott <wgscott@users.sourceforge.net>
